home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ZED3DSRC.ZIP
/
DOSFUNC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-17
|
590b
|
32 lines
#ifndef __DOSFUNC_H
#define __DOSFUNC_H
#include <drawpoly.h>
#ifdef __cplusplus
extern "C" {
#endif
struct color_struct
{
unsigned char r,g,b; /* 0-63 */
};
typedef struct color_struct color;
void to256(void);
void totxt(void);
void blit(outbuffer *out);
void setpalette(color *palette, int col1, int col2);
/* sets palette entries col1 through col2 on the vga to the
values in palette */
void setgrayscale(int col1, int col2);
/* makes a grayscale in between col1 and col2, going from light to
dark */
#ifdef __cplusplus
}
#endif
#endif